Adwaita: Update color button styling
authorMatthias Clasen <mclasen@redhat.com>
Fri, 30 Oct 2015 05:16:26 +0000 (01:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 30 Oct 2015 10:16:10 +0000 (06:16 -0400)
Adapt to the previous commit.

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 25b3a8761aa2e5823aac9ed4c23f27a87d8f3ee8..05a0c05cf77960a7a54fae7284c67a73cd634baf 100644 (file)
@@ -730,7 +730,7 @@ modelbutton.flat,
 }
 
 
-GtkColorButton.button {
+button.color {
   padding: 5px; // Uniform padding on the GtkColorButton
 
   GtkColorSwatch:first-child:last-child { // :first-child:last-child for a specificity bump, it gets overridden by the
index f21466336d88302b083fb19c93a397ffe3ac2c39..4ec0208942f4118a7dbb56ff4ee5bb849be3c340 100644 (file)
@@ -1233,12 +1233,13 @@ modelbutton.flat,
   .menuitem.button.flat:hover {
     background-color: #4b5150; }
 
-GtkColorButton.button {
+button.color, headerbar button.color.titlebutton,
+.titlebar button.color.titlebutton {
   padding: 5px; }
-  GtkColorButton.button GtkColorSwatch:first-child:last-child {
+  button.color GtkColorSwatch:first-child:last-child {
     border-radius: 0;
     box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px rgba(238, 238, 236, 0.1); }
-    GtkColorButton.button GtkColorSwatch:first-child:last-child:insensitive, GtkColorButton.button GtkColorSwatch:first-child:last-child:backdrop {
+    button.color GtkColorSwatch:first-child:last-child:insensitive, button.color GtkColorSwatch:first-child:last-child:backdrop {
       box-shadow: none; }
 
 /*********
index 977f032f7a8560521b5b965a03d68583aa93da91..641e295ac1012a246d87c261fbecc7b4fad8640b 100644 (file)
@@ -1233,12 +1233,13 @@ modelbutton.flat,
   .menuitem.button.flat:hover {
     background-color: #dadbdb; }
 
-GtkColorButton.button {
+button.color, headerbar button.color.titlebutton,
+.titlebar button.color.titlebutton {
   padding: 5px; }
-  GtkColorButton.button GtkColorSwatch:first-child:last-child {
+  button.color GtkColorSwatch:first-child:last-child {
     border-radius: 0;
     box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1), 0 1px white; }
-    GtkColorButton.button GtkColorSwatch:first-child:last-child:insensitive, GtkColorButton.button GtkColorSwatch:first-child:last-child:backdrop {
+    button.color GtkColorSwatch:first-child:last-child:insensitive, button.color GtkColorSwatch:first-child:last-child:backdrop {
       box-shadow: none; }
 
 /*********